﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

using DevFX.DataAccess.DTO;
using DevFX.DataAccess;
using System.ServiceModel.Activation;

namespace DevFX.Service
{
    [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
    public class UserService : IUserService
    {
        public static IDataProvider persist = ProviderFactory.Instance.CreateProvider();
       
        #region IUserService 成员

        public User[] GetUsers()
        {
            return persist.GetUsers();
        }

        #endregion
    }
}
